package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallnack.RemarkClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

@FeignClient(value = "remark-service", fallbackFactory = RemarkClientFallbackFactory.class)
public interface RemarkClient {
    @GetMapping("/list")
    Set<Long> isLiked(@RequestParam("bizIds") List<Long> bizIds);
}
